<table>
    <tr>
        <td colspan="2">&nbsp;</td>
    </tr>
    <tr>
        <td>Sezonlar</td>
        <td><a href="?new=true">Yeni Sezon</a></td>
    </tr>
    <tr>
        <td colspan="2">&nbsp;</td>
    </tr>
    <tr>
        <td colspan="2">
            <table border="1">
                <tr>
                    <td></td>
                    <td>Sezon</td>
                    <td>Lig</td>
                    <td>Tip</td>
                    <td>Status</td>
                    <td>-</td>
                    <td>-</td>
                </tr>
                {section name=rows loop=$seasons}
                 {assign var="league" value=$seasons[rows]->getLeague()}
                <tr>
                    <td>{counter}.</td>
                    <td>{$seasons[rows]->getName()}</td>
                    <td>{$league->getName()}</td>
                    <td>{$seasons[rows]->getSeasonType()}</td>
                    <td>{$seasons[rows]->getStatus()}</td>
                    <td><a href="?delete={$seasons[rows]->getId()}">Sil</a></td>
                    <td><a href="?update={$seasons[rows]->getId()}">Güncelle</a></td>
                </tr>
                {/section}
            </table>
        </td>
    </tr>
</table>